<?php # Patient.php

require_once 'DBObject.php';

class Patient extends DBObject {
	public $tablename = "Patient";
	
	public $ID;
	public $PatID;
	public $DOB;
	public $Gender;
	public $RelationshipStatus;
	public $OccupationStatus;
	public $WorkHabitat;
	public $HuntHabitat;
	public $PlayHabitat;
	public $GardenHabitat;
	public $DateDiagnosed;
	public $TickBite;
	public $Rash;

	
	public function get() {
		return array(
					'ID' => $this->ID,
					'PatID' => $this->PatID,
					'DOB' => $this->DOB,
					'Gender' => $this->Gender,
					'RelationshipStatus' => $this->RelationshipStatus,
					'OccupationStatus' => $this->OccupationStatus,
					'WorkHabitat' => $this->WorkHabitat,
					'HuntHabitat' => $this->HuntHabitat,
					'PlayHabitat' => $this->PlayHabitat,
					'GardenHabitat' => $this->GardenHabitat,
					'DateDiagnosed' => $this->DateDiagnosed,
					'TickBite' => $this->TickBite,
					'Rash' => $this->Rash
				);
	}

	public function validate() {
		return parent::validateObject($this->tablename);
	}
}